import request from '@/plugin/axios'
const BASE_URL = "/base/area"
export function areaDelete(id) {
  return request({
    url: BASE_URL + "/delete",
    method: 'post',data:{id}
  })
}
export function getPage(data) {
  return request({
    url: BASE_URL + "/page",
    method: 'post',data
  })
}
export function areaAdd(data) {
  return request({
    url: BASE_URL + "/add",
    method: 'post',data
  })
}
export function areaUpdate(data) {
  return request({
    url: BASE_URL + "/update",
    method: 'post',data
  })
}